import request from '@/utils/request'

// 合同模板查询

export function getContractTemplateData(data){
    return request({
        url:"pk-retirement/base-setting/contract-template/list",
        method:"get",
        params:data
    })
}

// 新增模板
export function addNewContractTemplate(data){
    console.log(data,"<<<===data 请求传递过来的参数-新增模板");
    return request({
        url:"pk-retirement/base-setting/contract-template/save",
        method:"post",
        data:data
    })
}

// 修改模板
export function editContractTemplate(data){
    return request({
        url:"pk-retirement/base-setting/contract-template/update",
        method:"put",
        data:data
    })
}

// 删除模板
export function deleteContractTemplate(data){  
    return request({
        url:"pk-retirement/base-setting/contract-template/delete",
        method:"delete",
        data:data
    })
}       